Skip to content

[Dependent] [CVAT] Update last assignment handling#3476

Merged
Dzeranov merged 22 commits intodevelopfrom
zm/update-last-assignment-handling
Jul 24, 2025
Merged

[Dependent] [CVAT] Update last assignment handling#3476
Dzeranov merged 22 commits intodevelopfrom
zm/update-last-assignment-handling

Conversation

@zhiltsov-max
Copy link
Copy Markdown
Collaborator

@zhiltsov-max zhiltsov-max commented Jul 23, 2025

Issue tracking

Context behind the change

Depends on #3475, #3474

  • Fixed potential deadlock in /resign
  • Use job status instead of assignment to sync (fix possible double assignment);
  • Fixed CVAT job (un-)assignment races between /assign, /resign, CVAT webhook handler and expired assignment status tracker. Now active assignments use status in_progress for synchornization (instead of the last assignment id)
  • CVAT webhook handler will only check the last assignment for better performance
  • Optimized some DB requests for jobs and assignments

How has this been tested?

Release plan

Potential risks; What to monitor; Rollback plan

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faucet-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 1:05pm
faucet-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 1:05pm
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 1:05pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 1:05pm
staking-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 1:05pm

@zhiltsov-max zhiltsov-max requested a review from Dzeranov July 23, 2025 17:05
@zhiltsov-max zhiltsov-max changed the base branch from zm/updates to zm/update-docker July 24, 2025 12:45
@zhiltsov-max zhiltsov-max changed the base branch from zm/update-docker to develop July 24, 2025 12:54
@zhiltsov-max zhiltsov-max changed the base branch from develop to zm/update-docker July 24, 2025 12:58
@Dzeranov Dzeranov merged commit 819fe4e into develop Jul 24, 2025
20 checks passed
@Dzeranov Dzeranov mentioned this pull request Jul 24, 2025
6 tasks
@zhiltsov-max zhiltsov-max deleted the zm/update-last-assignment-handling branch July 24, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants